package com.ly.erms.common.persistence.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 分类方案
 * </p>
 *
 * @author liuyang
 * @since 2018-01-16
 */
@TableName("baseconfig_classification")
public class BaseconfigClassification extends Model<BaseconfigClassification> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	 * 类名
	 */
	private String classname;
	/**
	 * 创建者
	 */
	private Integer createuser;
	/**
	 * 创建日期
	 */
	private Date createdate;
	/**
	 * 最后修改用户
	 */
	private Integer lastuser;
	/**
	 * 最后修改时间
	 */
	private Date lastdate;
	/**
	 * 排序
	 */
	private Integer order;
	/**
	 * 上级id
	 */
	private Integer pid;
	/**
	 * 上级ids
	 */
	private String pids;
	/**
	 * 允许的文件数量
	 */
	private Integer filenum;

	private String tips;

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public Integer getCreateuser() {
		return createuser;
	}

	public void setCreateuser(Integer createuser) {
		this.createuser = createuser;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Integer getLastuser() {
		return lastuser;
	}

	public void setLastuser(Integer lastuser) {
		this.lastuser = lastuser;
	}

	public Date getLastdate() {
		return lastdate;
	}

	public void setLastdate(Date lastdate) {
		this.lastdate = lastdate;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPids() {
		return pids;
	}

	public void setPids(String pids) {
		this.pids = pids;
	}

	public Integer getFilenum() {
		return filenum;
	}

	public void setFilenum(Integer filenum) {
		this.filenum = filenum;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BaseconfigClassification{" + "id=" + id + ", classname=" + classname + ", createuser=" + createuser
				+ ", createdate=" + createdate + ", lastuser=" + lastuser + ", lastdate=" + lastdate + ", order="
				+ order + ", pid=" + pid + ", pids=" + pids + ", filenum=" + filenum + "}";
	}
}
